#include "Engine/Backbone.h"
#include "Engine/Sense.h"

#include "Context/Gameplay/Gameplay.h"
#include "Context/Main/Main.h"



int main(int argc, char ** argv) {
	atexit(SDL_Quit);
	
	/* Configure necessary things to the engine */
	Engine::Backbone::raise(800, 600);

	/* Initialize contexts */
	Context::Main::raise();
	Context::Gameplay::raise();
	
	/* Changes to the "main" context */
	Engine::Backbone::changeContext("Gameplay");
	
	/* Awakes the engine and set it to loop */
	Engine::Backbone::awake();
	
	return 0;
}
